package com.crm.business.domain;

import com.crm.common.annotation.Excel;
import com.crm.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class TbBusinessRecord extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 任务id
     */
    private Long id;

    /**
     * 线索id
     */
    @Excel(name = "线索id")
    private Long businessId;

    /**
     * 沟通重点
     */
    @Excel(name = "沟通重点")
    private String keyItems;

    /**
     * 沟通重点
     */
    private List<String> keys;

    /**
     * 沟通纪要
     */
    @Excel(name = "沟通纪要")
    private String record;

    /**
     * 跟进状态
     */
    @Excel(name = "跟进状态")
    private String trackStatus;

    /**
     * 下次跟进时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date nextTime;

    /**
     * 更新时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSXXX")
    private Date updateTime;


}
